<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./TemplatePrincipal.xhtml">

            <ui:define name="top">
                <center>
                    Bienvenidos al Menu Principal 
                    <h1>
                        <h:outputText value="User: #{accessBean.user}"/></h1>
                    <h1> <h:outputText value="Password: #{accessBean.pass}"/>
                    </h1>
                </center>
            </ui:define>
            
            <ui:define name="content">
                <h:form>
                    <h1> <p:commandButton value="Libro" action="BookList"/></h1>
                    <h1> <p:commandButton value="Categoria" action="CategoryList"/></h1>
                    <h1> <p:commandButton value="Prestamo" action="LendList"/></h1>
                    <h1> <p:commandButton value="Usuario" action="UserList"/></h1>
                    <h1> <p:commandButton value="Autor" action="AuthorList"/></h1>

                </h:form>
            </ui:define>

        </ui:composition>

    </body>
</html>